﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.GamerServices;

namespace cubo
{
    class Terrain
    {
        Texture2D terrainBumpMap;
        public Terrain(ContentManager Content, Effect effect)
        {
            terrainBumpMap = Content.Load<Texture2D>("mars._displacement_map");
            effect.Parameters["BumpMap"].SetValue(terrainBumpMap);
        }
        /*
        public void DrawTerrain(BasicEffect effect)
        {
            effect.Parameters["BumpMap"].SetValue(terrainBumpMap);
        }*/
    }
}
